package com.eastfair.imaster.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.eastfair.core.base.entity.Entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import com.eastfair.core.base.entity.SuperEntity;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 客户池
 * </p>
 *
 * @author liuxiaobai
 * @since 2021-11-15
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "CustomerPoolUpdateDTO", description = "客户池")
public class CustomerPoolUpdateDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @NotNull(message = "请填写主键", groups = SuperEntity.Update.class)
    private Long id;

    /**
     * 项目ID
     */
    @ApiModelProperty(value = "项目ID")
    private Long projectId;
    /**
     * 展会ID
     */
    @ApiModelProperty(value = "展会ID")
    private Long exhibitionId;
    /**
     * 公司ID 为0时是个人客户池
     */
    @ApiModelProperty(value = "公司ID 为0时是个人客户池")
    private Long companyId;
    /**
     * 所属人userID user_account 为0-员工离职
     */
    @ApiModelProperty(value = "所属人userID user_account 为0-员工离职")
    private Long ownerUserId;
    /**
     * 客户userID user_account
     */
    @ApiModelProperty(value = "客户userID user_account")
    private Long customerUserId;
    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    @Size(max = 32, message = "状态长度不能超过32")
    private String status;
    /**
     * 来源
     */
    @ApiModelProperty(value = "来源")
    @Size(max = 32, message = "来源长度不能超过32")
    private String source;
    /**
     * 是否生效(默认1：可用 0:不可用)
     */
    @ApiModelProperty(value = "是否生效(默认1：可用 0:不可用)")
    private Integer isEnable;
    /**
     * 是否删除(默认0：未删除1:已删除)
     */
    @ApiModelProperty(value = "是否删除(默认0：未删除1:已删除)")
    private Integer isDelete;
}
